package com.online.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 回复留言实体类
 */
@Data
public class Replay implements Serializable {
    //留言编号
    private Integer messageId;
    //回复编号
    private Integer replayId;
    //回复内容
    private String replay;
    //回复时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date replayTime;
}
